<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript">

</script>
<div class="bjui-pageContent">
	<!-- 查询和编辑公用一个页面，id空：新增，id不空：编辑--
		注意：本系统遵循restful架构，action处理时method严格按照 新增：post 编辑：put 删除:delete 查询：get(默认)
		由于删除和编辑form表单不支持，所以必须在action的url后面增加参数_method=put或_method=delete
	-->
	#if(!$!{record.id})
	<form type="post" action="$!{webPath}/tssy/tsSyKeyValue/add?navTabId=tsSyKeyValueLiNav&closeCurrent=true"  data-toggle="validate" data-alertmsg="false">
	#else
    <form type="post" action="$!{webPath}/tssy/tsSyKeyValue/update?_method=put&navTabId=tsSyKeyValueLiNav&closeCurrent=true" data-toggle="validate" data-alertmsg="false">
	#end
        #if(!$!{record.id})
		<input type="hidden" name="id" value="" />
		#else
		<input type="hidden" name="id" value="$!{record.id}"/>
		#end
        <table class="table table-condensed table-hover" width="100%"> 
            <tbody>
            	<tr>
            	
            	</tr>
            	<tr>
				<td>
					<label for="j-dictCode" class="control-label x85">编码：</label>
					
					<input type="text" data-rule="required;" name="dictCode"  value="$!record.dictCode" size="15" id="j-dictCode"/>
				</td>
            	<td>
					<label for="j-dictName" class="control-label x85">编码名称：</label>
					
					<input type="text" name="dictName"  value="$!record.dictName" size="15" id="j-dictName"/>
				</td>
            	</tr>
            	<tr>
            	<td>
					<label for="j-dictKey" class="control-label x85">值：</label>
					
					<input type="text" data-rule="required;" name="dictKey"  value="$!record.dictKey" size="15" id="j-dictKey"/>
				</td>
				<td>
					<label for="j-dictValue" class="control-label x85">文本：</label>
					
					<input type="text" data-rule="required;" name="dictValue"  value="$!record.dictValue" size="15" id="j-dictValue"/>
				</td>
				</tr>
            	<tr>
            	<td>
					<label for="j-isEnable" class="control-label x85">是否启用：</label>
					<input type="radio" data-rule="required;checked" class="form-control" #if($!record.isEnable&&$record.isEnable=='T')checked#end
				name="isEnable" id="j-enable" value="T" /><label for="j-enable">&nbsp;是</label>
				<input type="radio"  data-rule="required;checked" class="form-control" #if($!record.isEnable&&$record.isEnable=='F')checked#end
				name="isEnable" id="j-disable" value="F" /><label for="j-disable">&nbsp;否</label>
				</td>
				<td>
					<label for="j-remark" class="control-label x85">备注：</label>
					
					<input type="text" name="remark"  value="$!record.remark" size="15" id="j-remark"/>
				</td>
            	</tr>
            </tbody>
        </table>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="close">取消</button></li>
        <li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
    </ul>
</div>
